package baiqitun.stupro.common.entity.impl;

import baiqitun.stupro.common.entity.Entity;
import baiqitun.stupro.common.model.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author kedaji 系统日志
 */
@ApiModel("系统日志")
@Accessors(chain = true)
@Data
public class SysLog extends Entity {
    @ApiModelProperty("请求方式")
    private String method;
    @ApiModelProperty("ip地址")
    private String ip;
    @ApiModelProperty("请求的uri")
    private String uri;
    @ApiModelProperty("处理结果")
    private Result<?> result;
    @ApiModelProperty("请求参数")
    private Object parameter;
    @ApiModelProperty("运行花费时间")
    private Long castTime;
}
